<%-- 
    Document   : header
    Created on : Jun 13, 2012, 10:51:08 PM
    Author     : Atienza-Home
--%>


<script type="text/javascript">
    function toggleOptions(){
        
        
        
    }
    
    function signOut(){
    
        
    }
    
</script>
<form name="Logout" action="Logout" method="get"> </form> 

<div id="logincarthelp" >
    <font size="2px" style="font-weight: bold;">
    <%
    if(user != null){%>
        <a href="myaccount.jsp" style="font-style: none;">    
            <div style="background-color: white; border:2px solid #006666;padding-left:7px;padding-right:7px;float:right;height:25px;">
                
                <img  src="images/user/usernopic.png" style="max-height: 20px;max-width:20px;vertical-align: middle">  
                <span style="vertical-align: middle;display:inline-block"><font color="black"><%=user.getFirstName()%> <%=user.getLastName()%></font></span>
            </div>
        </a>
        <div id="optionUser">
            <div style="background-color: #009999; border:2px solid transparent;padding-left:7px;padding-right:7px;float:right;height:25px;">
                
                <span style="vertical-align: middle;display:inline-block"> <a href="#" onclick="document.forms['Logout'].submit();return false;"><font color="#cc9999"> Signout </font></a>  </span>
                <span style="vertical-align: middle;display:inline-block"><font color="white"> | </font> </span> 
                <span style="vertical-align: middle;display:inline-block"> <a href="cart.jsp"><font color="white"> Cart </font></a>  </span>
                <!--
                <span style="vertical-align: middle;display:inline-block"><font color="white"> | </font> </span> 
                <span style="vertical-align: middle;display:inline-block"> <a href="myaccount.jsp"><font color="white">My Account</font></a>  </span>
                -->
            </div>
            
        </div>
    <%}else{%>
        <div style="background-color: white; border:2px solid #006666;padding-left:7px;padding-right:7px;float:right;height:25px;">
            <span style="vertical-align: middle;display:inline-block"> <a href="login.jsp"><font color="gray">Login</font></a>  </span>
        </div>
    <%}%>
    
    </font> 
</div>